package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Menu;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface MenuService {
    //动态展示角色图标
    public List<Menu> findListByUsername(String username);

    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);

    //添加菜单
    public void addMenu(Menu menu);

    //编辑菜单
    public void editMenu(Menu menu);

    //删除菜单
    public void deleteById(Integer id);

    //回显编辑菜单
    public Menu findById(Integer id);
}
